package com.xiaoran.boot.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

//@Component
@ConfigurationProperties(prefix="mycar")
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Data
public  class Car {
    private String brand;
    private Integer price;


}
